package com.yixin.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.bo.PageInfo;
import com.yixin.hospital.entity.domain.Guidance;
import com.yixin.hospital.entity.dto.req.guidance.GuidanceAddReqDTO;
import com.yixin.hospital.entity.dto.req.visit.VisitStopReqDTO;
import com.yixin.hospital.entity.vo.ListGuidanceVO;

import javax.validation.Valid;

/**
* @author Administrator
* @description 针对表【guidance(导诊表)】的数据库操作Service
* @createDate 2024-11-13 17:12:41
*/
public interface GuidanceService extends IService<Guidance> {

    ApiResult<PageInfo<ListGuidanceVO>> allList(int currentPage, int pageSize, String name, Long deptId, Long workAddressId, Long jobOfficeId, Integer status);

    ApiResult<?> addOrUpdate(@Valid GuidanceAddReqDTO guidanceAddReqDTO, Long userId, String userName);

    ApiResult<?> guidanceWaitingNumber(Long deptId, Long workAddressId, Long jobOfficeId);

    ApiResult<?> guidanceStop(@Valid VisitStopReqDTO visitStopReqDTO, String userName);

    ApiResult<?> jobStatusList(Long deptId);

}
